[SPARK-40239][CORE] Remove duplicated 'fraction' validation in RDD.sample
[SPARK-40239][CORE] Remove duplicated 'fraction' validation in RDD.sample

### What changes were proposed in this pull request?
remove duplicated validation

### Why are the changes needed?
there was already a validation
```
    require(fraction >= 0,
      s"Fraction must be nonnegative, but got ${fraction}")
```

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Existing testsuites

Closes #37682 from zhengruifeng/core_remove_duplicacted_fraction_check.

Authored-by: Ruifeng Zheng <21ef94aec54fae1a36abbd011347596ae66d9959@apache.org>
Signed-off-by: Ruifeng Zheng <21ef94aec54fae1a36abbd011347596ae66d9959@apache.org>

srowen/spark,ueshin/apache-spark,dongjoon-hyun/spark,holdenk/spark,ueshin/apache-spark,apache/spark,holdenk/spark,vinodkc/spark,shaneknapp/spark,srowen/spark,ueshin/apache-spark,mahak/spark,holdenk/spark,gengliangwang/spark,srowen/spark,mahak/spark,wangyum/spark,zzcclp/spark,vinodkc/spark,dongjoon-hyun/spark,shaneknapp/spark,gengliangwang/spark,wangyum/spark,srowen/spark,dongjoon-hyun/spark,apache/spark,dongjoon-hyun/spark,witgo/spark,wangyum/spark,HyukjinKwon/spark,dongjoon-hyun/spark,mahak/spark,dongjoon-hyun/spark,witgo/spark,holdenk/spark,vinodkc/spark,apache/spark,zzcclp/spark,wangyum/spark,apache/spark,HyukjinKwon/spark,apache/spark,srowen/spark,zzcclp/spark,ueshin/apache-spark,witgo/spark,HyukjinKwon/spark,holdenk/spark,witgo/spark,shaneknapp/spark,ueshin/apache-spark,HyukjinKwon/spark,hvanhovell/spark,shaneknapp/spark,wangyum/spark,shaneknapp/spark,zzcclp/spark,shaneknapp/spark,dongjoon-hyun/spark,gengliangwang/spark,mahak/spark,ueshin/apache-spark,gengliangwang/spark,witgo/spark,witgo/spark,srowen/spark,zzcclp/spark,hvanhovell/spark,hvanhovell/spark,zzcclp/spark,HyukjinKwon/spark,vinodkc/spark,wangyum/spark,holdenk/spark,witgo/spark,hvanhovell/spark,gengliangwang/spark,gengliangwang/spark,zzcclp/spark,HyukjinKwon/spark,mahak/spark,hvanhovell/spark,vinodkc/spark,srowen/spark,holdenk/spark,hvanhovell/spark,hvanhovell/spark,vinodkc/spark,wangyum/spark,vinodkc/spark,HyukjinKwon/spark,apache/spark,apache/spark,gengliangwang/spark,mahak/spark,ueshin/apache-spark,shaneknapp/spark,mahak/spark