Judges will weigh scope of law allowing Israel to appropriate Palestinian lands if structures were built ‘in good faith,’ after telling state it must raze part of Mitzpe Kramim