House vote sends bill to Trump to fund border wall and avert government shutdown