Trump appeared to be somewhat out of step with his attacks on the demonstrations and support for the police.