Tennessee city accused of botching rape investigations agrees to $28M settlement