[REG2.059] Issue 10049 - Spurious "Label already defined" error inside a foreach over a range aggregate

http://d.puremagic.com/issues/show_bug.cgi?id=10049

This bug is a regression from 2.059, has been caused by fixing issue 6659.