dm cache: avoid calling policy destructor twice on error