$42M redevelopment at former CT factory will add apartments