How Brazil's political unrest reached a violent crescendo months after a contentious election