Documents leaked by former NSA contractor Edward Snowden show how the NSA has at least considered using evidence of alleged Islamist extremists’ online sexual activities to discredit them. The targets were not suspected of involvement in terrorist plots.