House Speaker Nancy Pelosi backed a move to put a repeal of the $10,000 cap on state and local tax deductions in the infrastructure and social-spending program that Democrats are hoping to pass as soon as this summer.