fix group by on string columns - redistribution was broken

due to BytesRef hashCode change in lucene which is now different by default
accross different jvms.