Fix a codegen regression from a localization fix.
Array indexing regression fix

1. Push the array indices of an identifier into the first SSA'd factor
2. Additional non-cyclic testcases