Added explanation and example for undefined associativity in reduce
Merge pull request #5086 from ivarne/docfix

Added explanation and example for undefined associativity in reduce