Gerrymandering ruling will affect Michigan