A military appeals committee has issued a ruling that could let Hebron settlers buy a contested building opposite the Tomb of the Patriarchs in the West Bank city.