Federal offices were being told to close for Christmas early as a bill to fund the US government was halted in its tracks by the president-elect.