Fix Object.equals(NaN, NaN)

Should be true, otherwise heaps can't get rid of NaN.

Thanks @ducarroz.