Removal of stacking-fault tetrahedra by twin boundaries in nanotwinned metals