Stability of an isotropic cosmological singularity in higher-order gravity