Former FBI Director James Comey wrote in a memo that President Donald Trump asked him to end the investigation of national security adviser Michael Flynn, according to a source familiar with the matter.