Built with rehabilitation in mind, Texas state jails are now viewed by lawmakers as a "complete failure"