Court OKs suit vs. branded firms over side effects of generic drugs