Chile's Congress voted on Tuesday to approve a bill legalizing same-sex marriage, clearing the way for it to become law.