Judge orders fired Federal workers reinstated