Boston Heart Diagnostics Corporation agreed to pay nearly $27 million to settle claims that it allegedly paid doctors in Texas and waived patient co-payments in exchange for lab tests it then billed to federal healthcare programs, the U.S. Department of Justice announced Monday.