US judge rules in favor of Teva over patent spat with Corcept  XM