Control of dephasing in spin qubits during coherent transport in silicon