Congress races to pass spending bill before shutdown