Fix false lint warnings in match arms with multiple patterns

fixing #13866