Teva Pharmaceuticals and several of its subsidiaries agreed to pay 6.5 million as part of a series of settlements between pharmaceutical companies and Hawaii of allegations that they published inflated prices for drugs and thus increased Medicaid costs.