stage2: resolve type fully when resolving inferred allocs

We must resolve the type fully so that pointer children (i.e. slices)
are resolved. Additionally, we must resolve even if we can know the
value at comptime because the `alloc_inferred` ZIR always produces a
constant in the AIR.

Fixes #11181
7d0b6956c0Mitchell Hashimoto committed on 3/15/2022, 11:55:21 PM· committed by Andrew Kelleyparent2c434cd
3 files changedLine totals unavailable