Entanglement oscillations in non-Markovian quantum channels