Turkish President Recep Tayyip Erdoğan on Friday formally reconverted Istanbul’s sixth-century iconic Haghia Sophia into a mosque and declared it open to Muslim worship, hours after a high court annulled a 1934 decision that had turned it into a museum.