Teliana Pereira holds her nerve to beat Anastasija Sevastova 6-3 7-5 and reach the final of the Brazil Tennis Cup.