Revert "Feature #1685: Refactor TM::epilog_delete so it can be used from VMM"

This reverts commit b249c79ece1358f11b91727a230b1e45a43a3176.
Feature #1685: Create new VM states and transitions for normal delete and resubmit

New flow:
Any (except mid-migration) -> cleanup -> epilog_delete -> done
Any (except mid-migration) -> cleanup_resubmit -> epilog_resubmit -> pending