Indonesia's parliament has passed a law approving the relocation of its capital from slowly sinking Jakarta to a site 2,000 kilometres away on jungle-clad Borneo island that will be named "Nusantara".