The Senate debated into early morning hours as Republicans race to deliver on President Donald Trump's tax and budget megabill.