A group of 40 Catholic institutions has committed to divest from fossil fuels in what is the largest of any such agreement by the Catholic Church.