D1987/rP22431 introduced logic to predict the target movement, which fixed unit chasing. However, sometimes fleeing units would then predict that their target end up in _front_ of them, so they turned around towards the attacker.
To fix this, we can check if we still predict the direction of movement to be the same. If not, don't try to anticipate.