Revert all finished workitems when aborting an activity

If activity has several workitems, some of them might be finished
already. In this case, we need to revert them during "abort" operation.