International coverage of the favelas this year focused heavily on police violence. It may have been necessary.