Boris Johnson’s government, which is preparing for a general election, said the ban would be in place until there was “compelling new evidence” that it could be carried out safely.