Continual Learning in the Presence of Repetition