O2 names new legal head as GC quits for BAE post