The lawsuit alleged the firms are using the influence gained through their stock holdings to pressure coal companies to reduce output in alignment with the asset managers’ net-zero goals.