I find it a particular pity that more correctional institutions aren't focused on exactly that: correction. I have the impression that even the examples you cite of "other proceedings more on [sic] deterrence .. or prevention" are rather retribution-based. I would be in favour of less incarceration and more rehabilitation and reinsertion into society as happy/useful participants. Aside from a minority of actual sociopaths and/or sadists which might or might not be a result of nature as opposed to nurture, i believe that most people would not commit the crimes they commit if they had access to better welfare/education/neighbourhoods/etc. It seems like much (even violent) crime is more of a symptom than an end in itself...
But i may be wrong there.