U.S. Senate defeats bill banning gay marriage