On cut loci of compact symmetric spaces