perf: DID resolve dedupe, migration interleave, mallinfo overflow fix
- add in-flight set to prevent duplicate DID entries in resolve queue
- interleave migration checks (1 per 10 DID resolutions) to prevent
starvation of the 140K+ migration queue
- bitcast mallinfo i32 fields to u32, extending useful range to 4 GiB
- extract magic numbers into named constants
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>