Extended reduce

This pull request asks for adding an additional overload for `parallel::reduce()` as discussed on IRC.