Voters narrowly approved a measure that could flip four House seats to Democrats, countering Trump’s midterms gerrymandering scheme.