Hmm. In that case I’d say it needs to be made known to the judge by the prosecutor that the criminals initially committed violent acts even if they take a plea bargain. That way they are removed from consideration of rehabilitation because they committed the deed regardless of lesser charge.
If not, the release of those people is also on the prosecutor who is striking the deals.