stereo: Use std::equal instead of IsEqualElements

Code reuse for the win! Hooray less code!