Sun strikes $400 m deal to supply generics at discounted prices