Final regulations amend definitions of marriage