Fix logic bug in factory "nearby halt" updates when deleting a tile; fix shadowed variable names which made the bug less-than-obvious