Social networks pledge to fight fake news in Brazil vote