Improve type error message in cypher `reduce(...)`

For the case where the accumulator and the expression have mismatching
types, it was not clear that the type error was for that reason. This
change improves the message for that case.