The city’s Panel for Educational Policy approved the Department of Education budget allocation formula last night, even as parents, teachers, and some panelists said the formula was harming schools.