New Jersey-based Par Pharmaceutical Cos. Inc. agreed Tuesday to pay $45 million to settle civil and criminal claims alleging the company mismarketed its Megace ES AIDS weight-enhancement drug as suitable for non-AIDS geriatric patients without U.S. Food and Drug Administration approval.