Battle-fatigued and suddenly bipartisan, the House voted Thursday night to ease across-the-board federal spending cuts and head off future government shutdowns, acting after Speaker John Boehner unleashed a stinging attack on tea party-aligned conservative groups campaigning for the measure's defeat.