On his first day in office, Mr. Trump had pardoned or commuted sentences in more than 1,500 cases connected to the January 6 attack.