The Olympic torch’s road to Rio was paved with parallels to Brazil