Jelly, 88 6 bytes
ṁƤẹḍƇLḣ@sJEƇḢ€
Port of my Brachylog solution.
s Slice the input into chunks of
J every length.
EƇ Keep only partitions with all equal elements,
Ḣ€ and return the first element of each remaining partition.