Head of Tokyo games resigns after his toxic Olympics remarks