python remove string from list if exists