Delete lines of duplicate process