Return Guardian MAI: fix bug when path to return hex is blocked

Such as when the unit is surrounded.