Target cuts nearly 40 jobs in restructuring of merchandising division