A British scientist advising the government on its coronavirus response resigned from his role on Tuesday, after the Daily Telegraph reported he had broken lockdown rules by meeting a female friend.