removed visited check in _explode_vartrees from depgraph.

I could not make a test that showed this problem. But the test I added for vartrees on another branch did show the problem, after the original problem was fixed.