Amendment to ban same-sex marriage close to Senate vote