Michael O'Neill says his Northern Ireland side will learn from letting a two-goal lead slip in Luxembourg in the Nations League.