The plan, called the Inflation Reduction Act, cleared the upper chamber by a vote of 51 to 50 along party…