President Trump on Tuesday signed a far-reaching executive order that dismantles many of the pillars of his predecessor’s climate-change agenda.