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

This pull request contains a test case that validates a bug with the pact-optimizer.

(The test obviously fails, because I did not include a fix for the bug!)
I also fixed a little typo and made an error message a bit more understandable by giving an example.