Having too much or too little product in stock is a retailer’s nightmare. Here’s how to avoid these costly inventory issues.