Made DistinctPipe into a RonjaPipe
Allow Ronja to use lazy distinct when possible
Merge pull request #3292 from systay/lazy-distinct

[2.2] Lazy distinct for Ronja