remove duplicate for sorted array