Apple Defeats Suit Over Ebook 'Sales'