The bill, approved in a 366-34-1 vote in which Republicans made up the only “nay” votes, was the third deal floated this week amid a Republican back-and-forth in which President-elect Donald Trump and billionaire tech mogul Elon Musk played starring roles.