Buffalo Public Schools, former McKinley High School principal reach settlement