A series of WikiLeaks disclosures that exposed a trove of the intelligence organization’s secrets could have been avoided, a task force found.