Cox, Cristián, Ministerio de Educación, Chile