Reducer without grouping key ("ALL_GROUP") fails in optimizer

This pull request contains a test case that validates a bug with the pact-optimizer.