First significant gay rights legislation since ban on gays in military makes it way through Senate