The chief inspector of prisons has said the recent spate of prisoners being released too early is "a symptom of a system that is close to breaking point".