Unregistered citizens - who number 13 million - to be allowed to obtain vital permit for basic rights, state media say.