NSA agent escapes ousting from cryptography group