Yes, it uninstalls correctly. This error occurs on the last instruction before a cache rebuild is queued. Your cache still contains templates, phrases, etc that were already deleted. This data should be harmless on its own, and it will be cleaned up next time to install/upgrade an add-on or upgrade XenForo.
Fixed the error in the current build.