Judges reverse earlier ruling and allow 45 homes to remain despite being built on privately owned Palestinian land, base decision on provision allowing purchase made in good faith, to stand although true owners did not consent to sale