Judges sided with groups who said sending spares from the Netherlands contributed to law violations in Gaza.