Make duplicate bindings in the same scope a type error