A Spanish judge has ordered the remains of artist Salvador Dali to be exhumed following a paternity suit by a woman.