Added virtual destructor to Operation base class.

Review: https://reviews.apache.org/r/22311