BUG: Float64Index with nans not comparing correctly

relalted to #5231