On topological properties of vacuum defects in lattice Yang-Mills theories