Rename groupReduce to groupMap in scala frontend

The title really says it all.