Mirra Andreeva defeated Jessica Pegula in straight sets, securing her place in the WTA Finals championship match and rising to second in world rankings.