Sema: improve the types_to_resolve mechanism

Store `InternPool.Index` as the key instead which means that an AIR
instruction no longer needs to be burned to store the type, and also
that we can use AutoArrayHashMap instead of an ArrayList, which avoids
storing duplicates into the set, potentially saving CPU time.
01ca841f12Andrew Kelley committed on 6/11/2023, 3:47:54 AMparent1b64eed
2 files changedLine totals unavailable