Boris Johnson had said it was “absolutely ridiculous” women chose to “go around looking like letterboxes” in comments last year.