Ms. Mayer, Yahoo’s chief executive, delivered identical twin girls on Thursday, just hours after announcing a spinoff of the company’s core Internet business.