It passed 366-34 after dropping President-elect Donald Trump's demands for a debt limit increase into the new year.