T.M.
Hair twirling is a comfort mechanism just like using a pacifier or carrying a blanket.
My first suggestion is that you buy children's detangler. You can spray it on dry or wet hair and it will help eliminate the tangles and damage to her hair.
My second suggestion is to buy her a curly haired doll that she can use to twirl to her hearts content.