At least 27 people have been killed in one of the most violent internal confrontations since Israeli troops withdrew.