MDL-39087 Purge all caches at the end of uninstall_plugin()