23 dead as Shia and Sunni militia clash after raid to free hostage