Naming the edges of matching $M=\{m_1,m_2,\dots,m_{n/2}\}$, for each $k\in \{0,1,\dots,n/2\}$, define $M_k=\{m_1,\dots,m_k\}$ to be the set of the first $k$ edges. Then, let $$G_k=(V,M\cup \pi(M_k)).$$
That is, $G_k$ is the graph where we only add $k$ random edges to $(V,M)$. Finally, let $C_k$ denote the number of connected components of $G_k$. The goal is to find $\newcommand{\E}{\mathbb E}\E[C_{n/2}]$. Note that $C_0=n/2$.
I claim that for all $k$ such that $0\le k\le n/2-1$, that
$$
\mathbb E[C_{k+1}-C_k]=-\left(1-\frac1{n-2k-1}\right).
$$
First, note that $G_k$ always has $n-2k$ leaves (a leaf is a degree one vertex). There will be $n/2-k$ components of $G_k$ which are isomorphic to path graphs, each with two leaves. The remaining components of $G_k$ are loops. These facts are easily provable by induction.
Furthermore, conditional on $\pi(m_1),\dots,\pi(m_k)$, the next edge $\pi(m_{k+1})$ is equally likely to be any unordered pair of leaves in $G_k$. If these two selected leaves are in different components, then $C_{k+1}-C_k=-1$, because the two components merge. If the two selected leaves are in the same component, then instead $C_{k+1}-C_k=0$. Therefore, $\mathbb E[C_{k+1}-C_k]$ is the negative of the probability the two leaves are in different components.
Suppose $m_{k+1}=(a,b)$, and the first leave chosen is $\pi(a)=v$. Then there is a unique other leaf, $w$, in the same component as $v$. The probability that $\pi(b)$ is in a different component to $v$ is then one minus the chance that $\pi(b)=w$, so the probability is $1-1/(n-2k-1)$. This completes the proof of the claim.
Conclude by noting that
$$
\mathbb E[C_{n/2}]
=\mathbb E[C_0]+\sum_{k=1}^{n/2}\mathbb E[C_{k+1}-C_k]
=\frac{n}{2}-\sum_{k=1}^{n/2}\left(1-\frac 1{n-2k-1}\right)
=\sum_{k=1}^{n/2}\frac1{2k-1}.
$$