WASHINGTON — From religious leaders and politicians to activists and scientists, the world said goodbye to a number of notable figures this year.