I am not sure if this helps, but I just found that you can actually use the contracted epsilon identity to get a pretty good vector/dyadic representation of the chain rule. The nice thing about this particular identity (at least to me) is that it does what any good chain rule should do, and applies the operator in question to the argument.
Please allow me to preempt this by saying that I am not that familiar with the conventions of dyadic notation, but I will present what I have figured out in index notation form, so that if anyone wants to go in, and fix my notation, they will know how to. Anyway, here is what I found:
\begin{equation}
\nabla \times \left(\mathbf{A} \circ \mathbf{B}\right) = -\left(\nabla_\mathbf{B}\cdot \mathbf{A}\right)\left(\nabla\times \mathbf{B}\right) + \left(\frac{\partial \mathbf{A}}{\partial \mathbf{B}}\right)^T\left(\nabla \times \mathbf{B}\right) + \left(\frac{\partial \mathbf{A}}{\partial \mathbf{B}}\right)^T \!\!\!\begin{array}{c}
_\cdot \\
^\times\end{array}\!\!\!\left(\nabla \mathbf{B}^T\right)
\end{equation}
The vertical operator notation means that I am crossing the second index of the left tensor with the 1st index of the right tensor, and then contracting the 1st index of the left tensor with the 2nd index of the right tensor.
Working it out in index notation, we start with
\begin{equation}
\epsilon_{ijk}\frac{\partial A_j}{\partial B_l}\frac{\partial B_l}{\partial X_k}
\end{equation}
What we want is to have the levi-civita symbol apply to B. The first step for this is to "free" the l and k indices. We can do this, using the kronecker delta
\begin{equation}
\epsilon_{ijk}\frac{\partial A_j}{\partial B_l}\frac{\partial B_l}{\partial X_k} = \delta_{k_0k_1}\delta_{l_0l_1}\epsilon_{ijk_0}\frac{\partial A_j}{\partial B_{l_0}}\frac{\partial B_{l_1}}{\partial X_{k_1}}
\end{equation}
Now, we can get to the contracted epsilon identity by adding appropriate cancelling terms to the RHS:
\begin{equation}
\left(\delta_{k_0k_1}\delta_{l_0l_1}\epsilon_{ijk_0}\frac{\partial A_j}{\partial B_{l_0}}\frac{\partial B_{l_1}}{\partial X_{k_1}} - \delta_{k_0l_1}\delta_{l_0k_1}\epsilon_{ijk_0}\frac{\partial A_j}{\partial B_{l_0}}\frac{\partial B_{l_1}}{\partial X_{k_1}}\right) + \delta_{k_0l_1}\delta_{l_0k_1}\epsilon_{ijk_0}\frac{\partial A_j}{\partial B_{l_0}}\frac{\partial B_{l_1}}{\partial X_{k_1}}
\end{equation}
We can then use the contracted epsilon identity to rewrite this as
\begin{equation}
\epsilon_{rk_0l_0}\epsilon_{rk_1l_1}\epsilon_{ijk_0}\frac{\partial A_j}{\partial B_{l_0}}\frac{\partial B_{l_1}}{\partial X_{k_1}} + \delta_{k_0l_1}\delta_{l_0k_1}\epsilon_{ijk_0}\frac{\partial A_j}{\partial B_{l_0}}\frac{\partial B_{l_1}}{\partial X_{k_1}}
\end{equation}
Now, we are halfway there, for $\epsilon_{rk_1l_1}$ applies to $\frac{\partial B_{l_1}}{\partial X_{k_1}}$
Notice also, that when we juxtapose $\epsilon_{rk_0l_0}$ and $\epsilon_{ijk_0}$ we can apply the contracted epsilon identity once again. Combining these two facts gives us
\begin{equation}
\left(-\delta_{ri}\delta_{l_0j} + \delta_{rj}\delta_{l_0i}\right)\frac{\partial A_j}{\partial B_{l_0}}\epsilon_{rk_1l_1}\frac{\partial B_{l_1}}{\partial X_{k_1}} + \delta_{k_0l_1}\delta_{l_0k_1}\epsilon_{ijk_0}\frac{\partial A_j}{\partial B_{l_0}}\frac{\partial B_{l_1}}{\partial X_{k_1}}
\end{equation}
The expression in vector/dyadic notation above follows directly from this.
Best Answer
You will need to use the functional form of $f$ at some point. That is $\nabla_x f(|x|) = f'(|x|) \frac{x}{|x|}$ so in tensor notation $(\nabla_x f(|x|))_i = f' \frac{x_i}{|x|} $, then $$\nabla \cdot (m\times \nabla f) = \partial_i \left(\epsilon_{ijk}m_j f'\frac{x_k}{|x|}\right)$$ Assuming you meant $m$ is a constant vector you have $$\nabla \cdot (m\times \nabla f) = \epsilon_{ijk}m_j \left[f''\frac{x_ix_k}{|x|^2} + f' \frac{\delta_k^i}{|x|} - f'\frac{x_kx_i}{|x|^3}\right]$$ $$ = \frac{xf''}{|x|^2}\cdot (m\times x) + \epsilon_{kjk}m_jf'\frac{1}{|x|} - \frac{xf'}{|x|^3}\cdot (m\times x) = 0$$ The 1st and 3rd follow from $x\perp (m\times x)$ and the second is zeros as $\epsilon_{kjk} = 0$