The head of Knoxville’s Richard L. Bean detention center will retire after ‘loss of confidence’ in his leadership