A federal court on Thursday ruled the Trump EPA acted “unlawfully” when the agency refused to consider “legacy” uses of toxic substances like asbestos and lead when reviewing health risks under a revamped chemicals safety law signed by President Obama.