‘Underwear bomber’ was working for the CIA