[SPARK-4488][PySpark] Add control over map-side aggregation