Indian generic firm Ranbaxy Laboratories will pay $324 million to acquire Romania’s largest generic drug firm Terapia.