7-Eleven has shut all 31 of its remaining stores in India after five years, as competition from quick-commerce platforms and local retailers continues to intensify.