Ireland’s media regulator is investigating Facebook and Instagram on suspicion that so-called dark patterns are used to manipulate users.