Spending bill to avert government shutdown clears key hurdle, providing pathway for Senate passage as deadline looms.