Comey wrote Clinton ‘exoneration’ before talks