A federal judge is ordering the Trump administration to reinstate thousands of previously terminated probationary employees across 18 different agencies.