Measurement of indirect CP asymmetries in D0 → K−K+ and D0 → π−π+ decays using semileptonic B decays