Brazil's government revoked a presidential decree deploying the military in Brasilia to quell mass protests against unelected President Michel Temer.