US president sweeps away years-long effort to punish those responsible for trying to overturn the 2020 election.