Replacement of memory spare location, portion, or segment