A federal judge in San Francisco on Thursday found that the mass firings of probationary employees were likely unlawful, granting some temporary relief to a coalition of labor unions and organizations that has sued to stop the Trump administration’s massive trimming of the federal workforce.