Republicans in Washington may have indulged Mr. Trump's fantastical assertions, but at the state and local level, Republicans played a critical role in resisting the mounting pressure from their own party to overturn the vote after Mr. Trump fell behind on Nov. 3.