The European Union (EU) and Japan have signed a "landmark" trade deal, covering a third of the global economy, moving closer to ratification of the pact that will eliminate tariffs on textiles.