The separate commitment to phase out coal power and not invest further in it, announced late Wednesday, attracted 18 new countries, including Poland, Vietnam and Chile, all major coal consumers. They committed to phase out coal by the end of the 2030s for richer countries and a decade later for less-developed ones, though oil and gas was not covered, limiting the pledge’s ambition.