If a fleeing unit touches the edge of the battlefield (or indeed has spilled over it), the entire unit is removed from play and counts as destroyed. We assume that having fled so far from the battle, the remaining troops scatter, regrouping only after the battle is over.