Trump’s action erases a rule that was finalized shortly before President Barack Obama left office in January.