I think what I want to try to lessen the swinging is making sure they hit when the enemy is standing still or occupied with attacking somebody. I noticed that my cav start pursuing and not charging when they do that swinging thing. Also, we'd have more opportunities to use it if the AI organized itself into tight lines rather than scattering all over the place.