GOP opposition is hardening over a massive infrastructure plan and a revamp of policing laws, scrambling the prospects of two of President Joe Biden’s top domestic priorities at a crucial juncture on Capitol Hill.