The House passed a bill to fund the government through Dec. 23. Nine Republicans joined Democrats to prevent the government from shutting down.