The House approved a $1 trillion package of road and other infrastructure projects late Friday after Democrats resolved a months-long standoff between progressives and moderates, notching a victory that President Joe Biden and his party had become increasingly anxious to claim.