The International Finance Corp. is setting up an entity aimed at lowering the cost of mini grids in Africa, to accelerate plans to connect 300 million Africans to electricity by 2030.