compiler/libec: Fixed deletion of class:struct where value being deleted is modified by destructor