Ahold Delhaize USA Inc., the Massachusetts-based supermarket operator whose retail pharmacy chains include Giant, Hannaford, Stop & Shop and Food Lion, has agreed to pay $40 million to resolve allegations that it reported inflated prescription drug prices to federal healthcare programs, causing Medicare, Medicaid and TRICARE to overpay certain claims, the Justice Department announced.