fix(store): corrected CAS and CAD fail cause in response

specifically when both prevIndex and prevValue are provided
Merge pull request #614 from metaflow/fix-611

fix Compare and swap returns incorrect cause