Rio de Janeiro has spent much of the past year trying to “pacify” its favelas — slums around the city that are home to a huge portion of the metropolis’s population — as well as its crime. On Tuesday night, one of those favelas erupted in violence, prompting question in advance of this summer’s World Cup.