Fix Range#==

This solves a problem in https://github.com/mruby/mruby/issues/1323