Trump campaigned on giving police officers immunity from prosecution, although he also said such immunity might “depend” on what happened.