Turkey has lifted a ban on women wearing the Islamic headscarf in state institutions, ending a decades-old restriction which caused many Muslim girls lose the chance for studying.