Gardai confirmed the man in his 30s was taken to Beaumont Hospital in Dublin but has since passed away