Reliance Industries' O2C business delivered a strong quarter, but retail's digital-commerce investments continued to weigh on profitability.