Court rules Teva's GERD generic does not infringe on branded drug