Qualitest pharmaceuticals to pay $39 million to resolve false labeling allegations