Purge kernel caches on context destruction

Kernels are no longer needed if the context for which they were created is destroyed.