Facebook defeats shareholder litigation over IPO