If I understand what you are wanting then use
m1 setUnitPos "auto"
to return them back to being able to function as the situation demands.
edit:
Apologies, I totally forgot about reenabling the AI's ability to move.
Apparently I can't read the whole question