With competition in the U.S. generics market mashing down margins, some drugmakers have been selling or closing plants to cut costs. India's Sun Pharma has joined that trend and will close a plant in New Jersey, costing nearly 100 workers their jobs.