Easiest way to make cavalry actually attack routing units is to tell them to run straight past the routing unit, then when they are passing through the middle of the enemy formation tell them to attack.