The retailer is targeting up to 30 openings of the scaled-down, specialized Macy’s format in 2024 and 2025.