The head of the tokyo olympics has resigned over sexist remarks made last week, in a grave blow to an organisation struggling against public opposition to holdi