The retailer will keep some shops and garages open after being named an essential provider of services.