A redistricting referendum that could allow Democrats to flip up to four House seats narrowly passed Tuesday in Virginia.