In a last-minute slap at President Donald Trump, a federal appeals court struck down one of his administration’s most momentous climate rollbacks on Tuesday, saying officials acted illegally in issuing a new rule that eased federal regulation of air pollution from power plants.