The chief executive of the American Egg Board, Joanne Ivy, has stepped down earlier than planned after the release of emails indicating she had tried to stop the sale of a vegan mayo at Whole Foods.