I could imagine setting their physical and acid resistances to 100%. Player could still kill them with grenades or flamethrowers. That still doesn't fix it for modded enemies that might explode on contact for example.
I tried making changes to the mod but it seems destructible-property is removed from the game some point, and there is no way to do it now that i can see. I have no intention of moving any of the factories, that is their point to be a foundation for the rail world. Losing one would be really bad, i use very high frequency enemy settings in my world i'd like to have more than 1 still alive in the world before i get there to defend.