The ruling by the Third Circuit Court of Appeals was a complete repudiation of President Trump’s effort to halt Pennsylvania’s certification process. Mr. Trump committed to leave the White House in January if the electors vote, as expected, for President-elect Joe Biden on Dec. 14.