Khilafat & Mulukiyat
Surah Tauba verse 100 refers to all believing muslims of that time not just Hazrat Ali. Only Allah knows who was right so let Allah decide their fate. You will not be asked who was right or wrong on the day of judgment. So we dont need to indulge in such questions.