Leinster win at Thomond Park