Gaza law barring women from travel without male consent to be revised, judge says