WhatsApp commits to amending policy on users’ contract after EU probe