How a rattled Netanyahu outflanked Likud's militant settler faction