Judge set to reverse budget cuts to NYC schools