It is the latest policy restricting women’s education since the Taliban returned to power last year.