[SPARK-2862] histogram method fails on some choices of bucketCount

We should tolerate small numerical difference for the middle splits, e.g., `16.33333333333335` is also valid as the second split, but assert exactly equal on the boundaries (6 and 99 in this case).