ai_helper: improve criterion for impassable terrain

Rather than checking whether the movement cost is <99, check whether it
is <= max_moves for the unit.
Fred zone hold corridor/path maps: 0 weight to impassable hexes

Give zero weight in corridor and path maps to hexes that are impassable
for an enemy unit, so that they don't get high ratings as locations
that need to be defended.