Sri Lanka gets China agreement on debt restructure