Education regulator will be required to limit number of students doing certain subjects