Court invalidates Teva patent infringement suit