Replace __evict_dirty_validate with a check during shutdown.  Change __evict_dump_cache into a function to be called from a debugger.