The New York City schools chancellor, Cathleen Black, acted in the best interest of the city’s schoolchildren on Thursday when she stepped down after 95 days on the job.