A California federal judge on Thursday ordered the immediate reinstatement of certain probationary employees fired from six federal agencies, saying the Office of Personnel Management did not have the authority to direct those terminations, making the firings “unlawful.”