WASHINGTON — The House on Thursday passed a sweeping $1.3 trillion spending bill that doles out enormous increases to military and domestic programs alike, as Republicans and Democrats joined to block most of President Donald Trump’s proposed budget cuts and place obstacles in the way of his immigration agenda.The 2,232-page bill abandons GOP claims of fiscal discipline in a stark reversal of the promises many Republicans ran on in capturing control of the House in 2010 and the Senate in 2014 as they railed against what they described as a profligate President Barack Obama.And in another about-face, GOP leaders tossed aside their rules and past complaints about Democrats to rush the legislation through the House ahead of a Friday night government shutdown deadline.