Trump’s recent legal defeats