Judge orders thousands of fired probationary federal employees reinstated