
As suggested by Sergey, do not register those anymore, this way we keep undo step, but user cannot 'redo' them (does not work, since cached DM in particle modifier data is not yet re-created by depsgraph update after undo when operator is redone). UI now has two buttons, one to (dic)connect current psys, the other to (dis)connect all. Also fixed similar issue with Connect Hair op.