Enumerable#sort_by with block producing incomparals raises ArgErr

Fixes #1113.