when did kindergarten become mandatory