The House of Representatives is set to pass a $1.7 trillion spending bill to keep the government funded until next fall, despite strong objections from Republicans.