US drugmaker Perrigo to buy Elan for $8.6 billion