After years of intense debate, India’s government agreed Friday to open the country’s retail sector to global behemoths like Walmart and Ikea, pushing for a profound shift in India’s economic and political direction.