US retail giant JC Penney is to shutter 18 full-line stores this summer as part of its bid to return to profitable growth.