Takeda wins key ruling against Teva over generic heartburn drug