[REG2.065] Issue 13497 & 12381 - fix remaind e2ir ICE around array ops

https://issues.dlang.org/show_bug.cgi?id=13497
https://issues.dlang.org/show_bug.cgi?id=12381