Malian masons have rebuilt eight mausoleums destroyed by Islamist militants who took over the desert city of Timbuktu in 2012, the United Nations and Malian officials said.