Fix Issue 7077 - mixin statements can invade the enclosing scope

The if body should always be inside its own scope

http://d.puremagic.com/issues/show_bug.cgi?id=7077