On the nonlinear theory of the radiation-driven thermal instability of a magnetized plasma