Turkey's main opposition CHP faces a potentially historic rupture after months of infighting over its leadership.