Irish PM Micheál Martin said there were "lessons to be learned" over the EU's move to tighten coronavirus vaccine exports.