The Olympic torch approached the end of its nationwide relay around Brazil on Thursday, the day after police clashed with demonstrators and with new political protests planned for the opening ceremony.