Amir Ohana asserted court prevented demolition of Gaza homes used for cover by killers, but Haaretz reports it was the state that ultimately backed away from the move