SERVER-8624: make reduce arguments mutable