“At the grossest financial level, it’s just savings. You can cut the government worker, save the salary and still maintain the service, and you’re providing a skill for when [the prisoners] leave.”
Of course when "they leave", there will always be more prisoners to fill the jobs, so there's a bit of a disconnect there, but those are just minor details.