The social network will no longer send employees to work at the offices of political campaigns.