Democrats rescued President Joe Biden’s faltering domestic agenda Friday, passing a giant infrastructure package that is one of the pillars of his $3 trillion economic vision after rebel moderates had earlier blocked a vote on his social welfare expansion.