Judges who presided over riot cases deliver blistering rebukes and warn against Trump’s revisionist history