in Dict setindex!, check that the key is isequal() to a valid key for the
Dict, since otherwise it will not be possible to look it up.

without this change, it was possible for the code

    dict[x] = y
    dict[x]

to fail, since `x` gets converted to the key type of the dict.
Merge branch 'master' of github.com:JuliaLang/julia