Purges are happening at a higher rate in states with a history of racial discrimination, according to a new study.