Remove Three Consecutive Duplicates From String