Nuclear plasticity increases susceptibility to damage during confined migration