director, James B. Comey, told his top agents from around the country that he had been asked by President Trump to stay on the job running the federal government’s top law enforcement agency, according to people familiar with the matter.