The threat of dying from cancer is on the decline, even though the overall rate of being diagnosed with the disease holds steady, the government says.