Build label def/refs info when figuring out scope
Build label def/refs info when figuring out scope

Fix #862

davidbau/UglifyJS2,hychen/UglifyJS2,avdg/UglifyJS2,butchi/decodecodeJS,rvanvelzen/UglifyJS2,butchi/codedecodeJS,dabretin/UglifyJS2