The longest government shutdown in U.S. history could end as soon as Wednesday evening, as the Republican-led House is poised to approve a spending package that would restore funding to large parts of the federal government, sending the measure to President Donald Trump, who has said he will sign it.