Donald Trump’s sentencing in his New York criminal case on Friday closes out a series of prosecutions that he largely beat by retaking the U.S. presidency, though he is still fighting to avoid paying hundreds of millions of dollars for losses in civil lawsuits.