AstraZeneca unit loses patent rights