Given a list of items this proc finds a (part, full) pair so that when completing from $part $full will be the only option.