US Congress passes stopgap funding bill to avert government shutdown