fix -cifti-extrema for using -sum-maps with either direction