Facebook says it has removed 32 pages believed to have been set up to influence the US midterm elections.