Shoppers often greet the closure of a Walmart with dismay, while competitors find cause to celebrate.