Angular momentum transport in magnetized stellar radiative zones. I: Numerical solutions to the core spin-up model problem