[SPARK-1837] NumericRange should be partitioned in the same way as other...

... sequences