BUG: core: fix use of wrong output array in iterator_loop
BUG: core: fix use of wrong output array in iterator_loop

These can differ if the iterator decides to make temporary copies of
output arrays.

chatcannon/numpy,mhvk/numpy,anntzer/numpy,pdebuyl/numpy,gfyoung/numpy,WarrenWeckesser/numpy,charris/numpy,anntzer/numpy,behzadnouri/numpy,MSeifert04/numpy,madphysicist/numpy,WarrenWeckesser/numpy,mhvk/numpy,grlee77/numpy,b-carter/numpy,simongibbons/numpy,mhvk/numpy,seberg/numpy,ahaldane/numpy,seberg/numpy,solarjoe/numpy,grlee77/numpy,pbrod/numpy,seberg/numpy,ssanderson/numpy,tynn/numpy,jakirkham/numpy,ahaldane/numpy,mhvk/numpy,jakirkham/numpy,pdebuyl/numpy,madphysicist/numpy,bertrand-l/numpy,simongibbons/numpy,b-carter/numpy,endolith/numpy,jorisvandenbossche/numpy,jakirkham/numpy,charris/numpy,charris/numpy,grlee77/numpy,mattip/numpy,WarrenWeckesser/numpy,WarrenWeckesser/numpy,gfyoung/numpy,rgommers/numpy,Eric89GXL/numpy,simongibbons/numpy,simongibbons/numpy,ahaldane/numpy,abalkin/numpy,rgommers/numpy,mattip/numpy,abalkin/numpy,MSeifert04/numpy,Eric89GXL/numpy,solarjoe/numpy,numpy/numpy,pbrod/numpy,WarrenWeckesser/numpy,grlee77/numpy,jorisvandenbossche/numpy,madphysicist/numpy,rgommers/numpy,mattip/numpy,charris/numpy,bertrand-l/numpy,chatcannon/numpy,bringingheavendown/numpy,Eric89GXL/numpy,MSeifert04/numpy,anntzer/numpy,ssanderson/numpy,pbrod/numpy,shoyer/numpy,tynn/numpy,shoyer/numpy,pbrod/numpy,MSeifert04/numpy,pizzathief/numpy,MSeifert04/numpy,numpy/numpy,bertrand-l/numpy,mattip/numpy,jorisvandenbossche/numpy,bringingheavendown/numpy,jakirkham/numpy,shoyer/numpy,ahaldane/numpy,pbrod/numpy,grlee77/numpy,ssanderson/numpy,jorisvandenbossche/numpy,endolith/numpy,behzadnouri/numpy,shoyer/numpy,madphysicist/numpy,ahaldane/numpy,abalkin/numpy,endolith/numpy,pizzathief/numpy,pdebuyl/numpy,behzadnouri/numpy,solarjoe/numpy,numpy/numpy,numpy/numpy,jorisvandenbossche/numpy,seberg/numpy,gfyoung/numpy,simongibbons/numpy,madphysicist/numpy,pdebuyl/numpy,pizzathief/numpy,jakirkham/numpy,b-carter/numpy,pizzathief/numpy,endolith/numpy,shoyer/numpy,bringingheavendown/numpy,mhvk/numpy,Eric89GXL/numpy,rgommers/numpy,anntzer/numpy,pizzathief/numpy,tynn/numpy,chatcannon/numpy