Trump, frustrated by courts, sees his tariff policies take new hit.