Judge rules Israeli firm NSO caused 'irreparable harm', but said an earlier award of $168m in damages was 'excessive'.