Fix dmd test template2962 by removing nestedVars.

nestedVars was always a copy of closureVars. There was no point to it
existing.
Merge pull request #618 from ckamm/fix-nestedvars

Fix dmd test template2962 by removing nestedVars.