US retailer Macy's is closing nine stores across the US amid declining sales and "insufficient growth opportunities".