FBI Director James Comey testified during a hearing that he had to tell Congress of emails linked to Hillary Clinton just before Election Day.