US judge orders Trump administration to reinstate fired federal workers