Main–Lorentz tandem repeats

Find places where the same piece of text appears twice in a row. In мама, ма repeats. In мамамама, the whole word мама repeats too.

Split the text in half. Find repetitions within each half, then use Z-values to find those crossing the split. Group consecutive starts with the same half length to keep the output compact.