fix: restore resolve queue dedup to prevent unbounded memory growth
the queued_set dedup was accidentally removed in b96335c (LRU refactor).
without it, every cache miss for the same DID appends a fresh dupe to the
queue — 18K entries within 6 minutes. adds regression test.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>