Mirra Andreeva took a straight-sets victory over Jessica Pegula at the WTA Finals in Indian Wells.