Make copy when deleting instead of messing up range operations
Make copy when deleting instead of messing up range operations

We would walk the labels and comments lists and could then delete from
them. Since we used the form `a = append(a[:i], a[i+1:...])` we were
actually changing the list as it was being used in a `range a`
statement. This could cause the comment deleter and the LGTM label
checker to go nuts.

aledbf/contrib,olark/kubernetes-contrib,danehans/contrib,vishpat/contrib,freehan/contrib,kskalski/contrib,upmc-enterprises/contrib,ingvagabund/contrib,endocode/contrib,vishpat/contrib,kow3ns/contrib,kskalski/contrib,grodrigues3/contrib,hongchaodeng/contrib,Wattpad/kubernetes-contrib,Q-Lee/contrib,xialonglee/contrib,k8s-packages-power/contrib,kow3ns/contrib,danushkaf/contrib,upmc-enterprises/contrib,ixdy/kubernetes-contrib,kskalski/contrib,gmarek/contrib,rmmh/kubernetes-contrib,pwittrock/contrib,Wattpad/kubernetes-contrib,eparis/contrib,chiradeep/contrib,verb/contrib,cdemers/contrib,k8s-packages-power/contrib,eastbanctech/kubernetes-contrib,girishkalele/contrib,upmc-enterprises/contrib,gemini-project/contrib,gouyang/contrib,x13n/contrib,marketlogicsoftware/contrib,Q-Lee/contrib,ingvagabund/contrib,fcvarela/contrib,kskalski/contrib,kow3ns/contrib,thockin/contrib,piosz/contrib,widgetpl/contrib,luxas/contrib,danehans/contrib,xialonglee/contrib,kow3ns/contrib,piosz/contrib,Pensu/contrib,stephenrlouie/contrib,eparis/contrib,foxish/contrib,mikedanese/contrib,simonswine/kubernetes-contrib,micheleorsi/contrib,krousey/contrib,freehan/contrib,danehans/contrib,caesarxuchao/contrib,verb/contrib,eastbanctech/kubernetes-contrib,devlinmr/contrib,Wattpad/kubernetes-contrib,eastbanctech/kubernetes-contrib,kow3ns/contrib,stephenrlouie/contrib,stephenrlouie/contrib,pwittrock/contrib,rchicoli/kubernetes-contrib,kokhang/contrib,gouyang/contrib,pwittrock/contrib,danehans/contrib,hongchaodeng/contrib,krousey/contrib,grodrigues3/contrib,pwittrock/contrib,xialonglee/contrib,gmarek/contrib,freehan/contrib,danushkaf/contrib,verb/contrib,kskalski/contrib,Pensu/contrib,grodrigues3/contrib,x13n/contrib,rchicoli/kubernetes-contrib,widgetpl/contrib,widgetpl/contrib,simonswine/kubernetes-contrib,lavalamp/contrib,freehan/contrib,cdemers/contrib,krzyzacy/contrib,lavalamp/contrib,fcvarela/contrib,kokhang/contrib,ixdy/kubernetes-contrib,marketlogicsoftware/contrib,Q-Lee/contrib,chiradeep/contrib,gemini-project/contrib,ixdy/contrib,vishpat/contrib,spxtr/contrib,caesarxuchao/contrib,devlinmr/contrib,spxtr/contrib,olark/kubernetes-contrib,gouyang/contrib,simonswine/kubernetes-contrib,x13n/contrib,endocode/contrib,x13n/contrib,xialonglee/contrib,krzyzacy/contrib,cdemers/contrib,piosz/contrib,eparis/contrib,ixdy/contrib,fcvarela/contrib,k8s-packages-power/contrib,freehan/contrib,eparis/contrib,adamschaub/contrib,piosz/contrib,foxish/contrib,luxas/contrib,k8s-packages-power/contrib,caesarxuchao/contrib,luxas/contrib,chiradeep/contrib,simonswine/kubernetes-contrib,gouyang/contrib,caesarxuchao/contrib,spxtr/contrib,stephenrlouie/contrib,lewislyou/contrib,girishkalele/contrib,Q-Lee/contrib,foxish/contrib,cdemers/contrib,lewislyou/contrib,endocode/contrib,gouyang/contrib,rmmh/kubernetes-contrib,moul/contrib,lewislyou/contrib,thockin/contrib,grodrigues3/contrib,aledbf/contrib,lewislyou/contrib,hongchaodeng/contrib,stephenrlouie/contrib,adamschaub/contrib,krousey/contrib,gmarek/contrib,piosz/contrib,stephenrlouie/contrib,micheleorsi/contrib,rchicoli/kubernetes-contrib,mikedanese/contrib,thockin/contrib,eastbanctech/kubernetes-contrib,lewislyou/contrib,gemini-project/contrib,Q-Lee/contrib,gemini-project/contrib,k8s-packages-power/contrib,lavalamp/contrib,micheleorsi/contrib,rmmh/kubernetes-contrib,gemini-project/contrib,micheleorsi/contrib,jcmoraisjr/k8s-contrib,marketlogicsoftware/contrib,thockin/contrib,Wattpad/kubernetes-contrib,moul/contrib,Pensu/contrib,foxish/contrib,luxas/contrib,thockin/contrib,gmarek/contrib,eastbanctech/kubernetes-contrib,lavalamp/contrib,ingvagabund/contrib,devlinmr/contrib,x13n/contrib,rchicoli/kubernetes-contrib,widgetpl/contrib,foxish/contrib,micheleorsi/contrib,kskalski/contrib,olark/kubernetes-contrib,luxas/contrib,mikedanese/contrib,moul/contrib,jasonbrooks/contrib,Pensu/contrib,spxtr/contrib,micheleorsi/contrib,lavalamp/contrib,hongchaodeng/contrib,fcvarela/contrib,upmc-enterprises/contrib,ixdy/kubernetes-contrib,Wattpad/kubernetes-contrib,marketlogicsoftware/contrib,adamschaub/contrib,ingvagabund/contrib,danushkaf/contrib,krzyzacy/contrib,devlinmr/contrib,upmc-enterprises/contrib,Pensu/contrib,fcvarela/contrib,adamschaub/contrib,danushkaf/contrib,vishpat/contrib,devlinmr/contrib,aledbf/contrib,spxtr/contrib,kokhang/contrib,jasonbrooks/contrib,moul/contrib,danehans/contrib,piosz/contrib,chiradeep/contrib,kokhang/contrib,verb/contrib,girishkalele/contrib,krzyzacy/contrib,spxtr/contrib,rmmh/kubernetes-contrib,caesarxuchao/contrib,endocode/contrib,xialonglee/contrib,aledbf/contrib,mikedanese/contrib,mikedanese/contrib,rmmh/kubernetes-contrib,vishpat/contrib,mikedanese/contrib,kokhang/contrib,pwittrock/contrib,lavalamp/contrib,aledbf/contrib,Q-Lee/contrib,chiradeep/contrib,adamschaub/contrib,jcmoraisjr/k8s-contrib,aledbf/contrib,kokhang/contrib,eparis/contrib,danehans/contrib,ixdy/contrib,krousey/contrib,upmc-enterprises/contrib,hongchaodeng/contrib,simonswine/kubernetes-contrib,caesarxuchao/contrib,krzyzacy/contrib,gmarek/contrib,ingvagabund/contrib,marketlogicsoftware/contrib,jasonbrooks/contrib,x13n/contrib,kow3ns/contrib,moul/contrib,xialonglee/contrib,ixdy/kubernetes-contrib,olark/kubernetes-contrib,gmarek/contrib,jcmoraisjr/k8s-contrib,endocode/contrib,endocode/contrib,ixdy/kubernetes-contrib,jasonbrooks/contrib,devlinmr/contrib,Pensu/contrib,lewislyou/contrib,verb/contrib,rchicoli/kubernetes-contrib,Wattpad/kubernetes-contrib,marketlogicsoftware/contrib,verb/contrib,k8s-packages-power/contrib,pwittrock/contrib,fcvarela/contrib,jcmoraisjr/k8s-contrib,cdemers/contrib,danushkaf/contrib,gouyang/contrib,adamschaub/contrib,rmmh/kubernetes-contrib,thockin/contrib,eparis/contrib,girishkalele/contrib,grodrigues3/contrib,rchicoli/kubernetes-contrib,ixdy/kubernetes-contrib,chiradeep/contrib,jasonbrooks/contrib,girishkalele/contrib,ingvagabund/contrib,widgetpl/contrib,vishpat/contrib,grodrigues3/contrib,gemini-project/contrib,freehan/contrib,chiradeep/contrib,krousey/contrib,olark/kubernetes-contrib,jasonbrooks/contrib,widgetpl/contrib,cdemers/contrib,eastbanctech/kubernetes-contrib,luxas/contrib,danushkaf/contrib,simonswine/kubernetes-contrib,jcmoraisjr/k8s-contrib,olark/kubernetes-contrib,girishkalele/contrib,jcmoraisjr/k8s-contrib,foxish/contrib,krzyzacy/contrib,hongchaodeng/contrib,krousey/contrib