remove duplicated code handling textures in Lua
PFD: render dirty squares in minimap when any path debug drawing is enabled
PE: fix a bug for some square repaths only a subset of movedefs were processed
speedup CMoveMath::IsBlockedStructure