Terminate AiPursue when target dies (Fixes #1836)