Handle multiple global complete array definitions

Previously both would be default-initialised and emitted as duplicates.
Merge branch 'fix/multiple-definition'