Re-work a fix for bug#10994 based on Le Wang's patch. * ido.el (ido-remove-consecutive-dups): New helper. (ido-completing-read): Use it. (ido-chop): Revert fix for bug#10994.