The goal is to protect the public from unrepentant, violent criminals, but critics contend prosecutors have abused the law by targeting Black men.