A company that makes tests for lead poisoning has agreed to resolve criminal charges that it concealed for years a malfunction that resulted in inaccurately low results. It’s the latest in a long-running saga involving Massachusetts-based Magellan Diagnostics, which will pay $42 million in penalties, according to the Department of Justice. While many of the fault-prone devices were used from 2013 to 2017, some were being recalled as late as 2021. The Justice Department said the malfunction produced inaccurate results for “potentially tens of thousands” of children and other patients. Doctors d…