Ireland affirms same-sex marriage