A comparative measurement of $\phi\rightarrow K^+K^-$ and $\phi\rightarrow \mu^+\mu^-$ in In-In collisions at the CERN SPS