UK Parliament votes to legalize same-sex marriage, abortion in N Ireland