NIF, NIE and CIF numbers validation:

* Removed unused variables.
* Refactorized.