The House managed to pass a bill avoiding a government shutdown just days before funding runs out