The White House budget director has ordered federal agencies to begin closing down after Congress failed to pass a budget to avert a government shutdown.