A judge in Bolivia has annulled the arrest warrant which had been issued for ex-President Evo Morales last year for alleged sedition and terrorism.