It was never stated or showed what would happen to the users linked to the dolls if they are simply removed from Hawkins's body. In the last chapter Killer simply gambled and he won. But Oda could have make the dolls still working even if they were removed for example and turn that tactic useless.
So it's not like that Law was at that point where he needed to take a risk and finally he resolved in his own way.