Quantum integrability of perturbed Virasoro-degenerate conformal models