Ireland win tense affair in Adelaide