Nuri Mosque, known for its eight-century-old leaning minaret destroyed by Islamic State militants in 2017, has been renovated in a boost for Iraq's second city as it rebuilds after long years of war.