A judge ruled the firing of thousands of federal employees was illegal. But he stopped short of ordering the government to reinstate them, predicting the Supreme Court would overturn it.