Hash#== and Hash#eql? fix to comparable

fix for #2002