afterwards they amicably divided the occupied areas of ceylon under a treaty signed in goa