In a deal with many moving parts, Elan Corp. plc (NYSE:ELN) agreed last week to pay $1 billion for a 21% share of future royalties