Refactor mrb_range_eq() func in range.c.
Merge pull request #1321 from suzukaze/refactor-range-c

Refactor mrb_range_eq() func in range.c.