Decays of Majorana or Andreev Oscillations Induced by Steplike Spin-Orbit Coupling.