The Senate on Sunday passed the Inflation Reduction Act with a 51-50 vote after a nearly 16-hour "vote-a-rama."