Fix behavior of Comparable methods
when <=> return nil
Merge pull request #1901 from ksss/compar-other

Fix behavior of Comparable methods when <=> return nil