Social media giant must grants activists access to documents on its attempts to block sexism, homophobia, racism and antisemitism from the platform