Listen to EntityExplodeEvent and iterate over EntityExplodeEvent::getBlocksList(). Remove stone blocks from the list. Then update the block list using EntityExplodeEvent::setBlocksList().