Issue #1394: Allow var variables to shadow let variables.

See 9930e68264f23e7c8289b7f9b75eec52679e06e3 for more info.