AstraZeneca to pay Merck $647M for drug interests