Implementation of variant of call and cut which executes pending goals when the computation has no more alternatives.
Usage:det_try(Goal,OnCut,OnFail)
Action is called, and OnCut and OnFail are goals to be executed when Goal is cut or when it finitely fails, respectively. In order for this to work, cutting must be performed in a special way, by using the !!/0 predicate, also provided by this module.