House Republicans approved legislation that would impose strict new voter ID requirements ahead of the midterm elections.