Israel faces legal challenge over block on Palestinians exiting Gaza to sue state