Many Republicans blasted the bill, which has money for Ukraine, Israel and the US border, while Democrats largely voiced support for it.