A prisoner who escaped from a jail destroyed in the earthquake that hit Palu, Indonesia, has returned to finish his sentence.