Beleaguered US department store chain JC Penney has announced the resignation of chairman and CEO Marvin Ellison.