Nigeria’s return to a J.P. Morgan emerging-market bond index could attract foreign capital, improve bond-market liquidity and help reduce government borrowing costs.