The government wanted Twitter to prevent a left-wing newspaper from circulating accounts of a raid by the military police.