[PDI-10919][SP-816] - Clearing MemoryGroupByData.map on dispose

Backported the fix for PDI-10919 to 5.0 branch