The Karnataka government has withdrawn the contentious 2022 uniform order that restricted the wearing of hijabs in schools.