CIA director John Brennan defends his agency