The European Investment Bank said it would stop funding fossil fuel projects at the end of 2021, a decision that cuts billions of dollars