J. C. Penney said its first-quarter loss narrowed, driven by a marginal increase in sales and improved margins. Penney’s quarterly loss was smaller than Street estimates, while sales fell shy.