Charter school lost case over skirts rule for girls, but deb