The European Union’s move to tighten rules for sustainable investing will put two-thirds of Europe’s so-called ESG funds on notice, forcing thousands of them to either sell off $40 billion in assets or change their names in a way that more accurately and transparently reflects their holdings.