Bolivia approves first same-sex union following legal battle