The regeneration or disposal of deactivated heterogeneous catalysts