A nonlinear repair technique for the MPFA-D scheme in single-phase flow problems and heterogeneous and anisotropic media