Two-dimensional nanowires on homoepitaxial interfaces: Atomic-scale mechanism of breakdown and disintegration