revert one part of ir get_elem_ptr analysis

this reverts one part of 4c3bfeca. it solves some behavior regressions
but introduces new ones. This change was incorrect to make however,
and this commit takes the code in a better direction.
8f336b3970Andrew Kelley committed on 1/17/2020, 2:58:52 AMparent6a8c9f7
2 files changedLine totals unavailable