A federal judge ruled the state needs to add a second district in Montgomery that is majority Black or close to that.