You must use the rule for triple vector product: $$ a\times(b\times c)=b(a\cdot c)-c(a\cdot b)=b\cos\gamma - c\cos\beta, $$ where $\gamma$ and $\beta$ are the angles formed by $a$ with $c$ and $b$.
Comparing that with $a\times(b\times c)=(b+c)/\sqrt2$ we get then: $$ \cos\gamma={1\over\sqrt2},\quad \cos\beta=-{1\over\sqrt2}. $$