Revert "Preserving sandbox deleted task history (part 2: state machine)."

Reason: Needs to support rollback scenario.

This reverts commit 359d0fb4885d100b44f5e5fa68cf69eb562577af.