Reasoning about Actual Causes in Nondeterministic Domains -- Extended Version