Electron transport in the four-lead two-impurity Kondo model: Nonequilibrium perturbation theory with almost degenerate levels