Richard P. Mills , the commissioner of education , said the proposal '' would solve the longstanding state aid problem in New York , '' and fix a system of distributing school aid that the state 's highest court ruled more than two years ago had deprived New York City schoolchildren of their constitutional right to a sound basic education .