Nonlinear Dirac operator and quaternionic analysis