Collapse contiguous identical delimiters.

Fixes copy-paste of DateTimeField rendering into search expression, as it
separates time from date with 3 spaces.