Head of school that hosted anti-gay band resigns