remove duplicates using both reads as unique elements