Ensure eviction dirty tracking accounts for root pages.

Root pages can be marked as dirty, but discarded without writing changes.