The House voted on a legislative package that includes a partial ban on lawmakers trading stocks and a federal voter ID requirement.