It is not the first time a L’Oreal advertising campaign to promote diversity has foundered because of controversial social media comments by a model