U.S. Stock Indexes End Mixed; Apple, Shire Rally