I was thinking if there could be a function that allows you to order your units to kill routing ones so as to force the fleeing units to stop and return to fighting

What you people think?