Can nondegenerate many-body perturbation theory be applied to quasidegenerate electronic states?