Newly released docs show how the social media giant helped the US military “amplify certain messages”