I just pieced a workflow together to make our Macs enroll in MDM if the profile was deleted. Wanted to get your thoughts on it or provide a solution for your setup if it works out. So far its running successfully for us.
1) Create Shell Script:
#!/bin/sh
sudo jamf manage
(May need to cd in Terminal to the location of where your script is saved)
2) Give root ownership of script (Terminal):
sudo chown root <scriptname>
3) Give permission for script to be run w/out password requirement (Terminal):
sudo chmod 4755 <scriptname>
4) Upload Shell Script to Casper Admin
5) Create Policy that deploys script. (We have set this Policy to occur on logout instead of typical login to make up for a lag in joining the network upon startup which causes the policy to fail)