WhatsApp said it would start sharing users' phone numbers with parent Facebook, marking a shift in its stance on privacy.