Yahoo said it will rename itself Altaba and Chief Executive Marissa Mayer will step down from the company's board of directors if the Verizon deal is completed.