Family Dollar Stores chief operating officer James Kelly is to leave the US discount retailer.