Magnetic reconfiguration of MnAs∕GaAs(001) observed by magnetic force microscopy and resonant soft x-ray scattering