A 2016 legislation gutted public security. Repealing it made the state safer.