Sri Lanka had reached a deal with foreign bond holders and local banks to restructure defaulted sovereign bonds, according to a finance ministry statement.