US senators on Sunday released the text of a much-anticipated deal that would unlock billions in new aid for Ukraine and Israel while tightening US border laws.