House passes stopgap bill to avert government shutdown