To save money on prisons, states take a softer stance