Adiabatic evolution of 1D shape resonances: an artificial interface conditions approach