Why did islam split into two factions?