[libcontacts] Only index valid phone numbers