Marissa Mayer to resign from Yahoo board after sale