Does he need a law? Just fire them. Clinton did it to prosecutors.
Except for federal judges, AFAIK, appointees are not guaranteed jobs forever.
Even if they are transferred to GS jobs they can be terminated within a year without reason.