If it’s set to rshift, you shouldn’t be having the issues you are with “b” resetting the game. You could change it to something else like “alt” as was suggested by floob.

You could always update to retropie 3.2.1 (just noticed you were on 3.1) and see if that fixes it too.