fix node type parameter to nodeIterator
removing unneeded code

- scope analysis has been re-implemented in transform/check/scopes.py