Spin-conversion of muonium by interaction with paramagnetic ions