Mr. Chauvin, 45, had been a police officer with the Minneapolis Police Department for more than 19 years before George Floyd’s death and had been the subject of at least 22 complaints and investigations.