Amid growing pressure after New Zealand mosque attacks, Facebook, Google and Twitter pledge to pursue new measures designed to keep platforms from being used to spread hate