Attempt minor improvements to stances code (see #865). Don't chase units that are no longer visible, beyond where they were last seen (fixes #595).