You could solve this by not clicking continue battle once the enemy army routs.