In a party-line vote, the Senate on Sunday passed a landmark climate, health care and tax package called the Inflation Reduction Act.