Is there a way to match a pattern like `[_, 0, _]` only if the two `_`s are equal, and if they aren't continue to the next pattern?