hmm, i think it is not quite the same problem. related though as one will lead to the next (suicide armies produced things to pickup in dangerous areas, causing reckless or stupid (or are they the same?) civilians to rush out to claim the items.
hold location will work. But they also have strange behavior at least a couple of a18 releases ago where they don’t react to enemies until they are actually attacked.
For the two related issues, the current workarounds are:
Suicide Soldiers: use hold location, or move them far away and hope that by the time they return, clerics would have patched them somewhat.
Suicide Haulers: either disable all hauling until the danger is dispatched by soldiers or expired (note that it will just disable hauling to stockpile. it prob will not prevent a non hailing job e.g. a new soldier trying to equip themselves), or lockdown your settlement preventing any pathing to outside (my preferred solution when things just get too stupid to be managed micro)
btw, current Hard Mode is frustratingly hard (frankly speaking, it is not a “hard” that is enjoyable yet). It is normal that you will end up dead if you go by the orthodox methods. You may need to look for the dirty methods (walling yourself in, micro-kiting etc), unless you want to recreate a grand list of casualties for story purposes…