Department store chain Dillard's has narrowed its second quarter loss after tight control of inventories and lower costs helped offset falling sales.