If you need Samsung Pay or Secure Folder, your only option is to return the device to stock firmware (to stop the pop-ups and stability issues) and accept that the security features are gone. Once Knox is tripped, it stays tripped.
When the Knox warranty void flag is set to 0x1, several implications arise: reset knox warranty void 0x1 back to 0x0