Congress averts government shutdown