Democrats to elect new leader as party struggles to repair brand