US Congress averts government shutdown but may default on debt