ExpAI: make sure injured regenerating units are not stranded if ...

... no non-regenerating units can get to safe locations.
ExpAI retreat: count amount of hp healed when choosing retreat location
Exp AI retreat code: make function min_hp() externally accessible
ExpAI retreat code: also return enemy attack map