Delete plugins if on volume or dataset that is being destroyed

Ticket: #4879