HPCC-10348 Ensure DISTRIBUTED removes grouping from the dataset

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>