The order expanded a previous one in April that barred the Trump administration from withholding federal funding to 16 cities and counties over their local laws.