Give the ISIS prisoners to the Syrian govt. Problem solved.
Just bomb the prisons and shoot anything leaving afterwards.