A US judge’s ruling against the NSA is a big win for Edward Snowden