add support for flattening non-recursive Let bindings