Block binding: Handle nested scopes better

#1358 
`usedVars_` is updated by adding a renamed var in `newNameFromOrig`.