The US Food and Drug Administration has shelved plans to close food-testing laboratories amid a review of how food safety is policed in the country.