Yahoo CEO Marissa Mayer will step down from its board after the closing of the Verizon Communications deal.