Victor Marchetti, a high-ranking CIA officer who grew disillusioned and co-wrote a best-selling book in the 1970s about the agency’s inner workings, resulting in a legal battle over whether the CIA could censor the writings of its past employees, died Oct. 19 at his home in Ashburn, Va. He was 88.