Supreme Court overturns ruling in Michigan gerrymandering case