make BisectingKMeans support instance weighting
SPARK-9610 Class and instance weighting for ML
GitHub Pull Request #27035