Changed way of extracting locals from top level stmts

It would cause problems since LocalDeclarations doesn't deal with unnormalized tuples.