The federal legislation — waiting for a vote in the Senate — will end numerous aspects of discrimination against people with HIV.