AI: check for accessibility before building factories / docks…
More information given by the A* pathfinding.

And some benefits (as in, needless code that I could remove) in client-side
code.