Donald Trump has said that attacks on police officers during the January 6 riots were "minor incidents".