AB = (E+2aa^T)(E-aa^T)
= E + 2aa^T - aa^T - 2aa^Taa^T
= E + aa^T - 2 (a^Ta) aa^T
= E + (1 - 2a^Ta) aa^T.