The celebrity hacker “Sabu” helped the FBI imprison his friends and stop more than 300 cyber-attacks in the three years since he betrayed several major hacking groups.