A bipartisan group of senators reached an agreement Wednesday on key sticking points that had been holding up a massive infrastructure package during months of negotiations.