SERVER-10026 SERVER-13271 SERVER-12878 SERVER-2094 avoid surplus projections in distinct