Michael O’Neill’s side let a two-goal lead slip but still secured promotion as winners of Group 3C.