A federal judge on Friday threw out parts of the Pentagon’s restrictions on news outlets, ruling that they violated the First ...