fix MonoidalReducer reduceFunctionExpression parameters