UP government to open schools from class 9 to 12