Judge orders rehiring of illegally fired federal employees