The most natural are 1a, 2a, 3b, 4a, 5a. 2b is incorrect. An adverbial indicating a point in time ("when I was cutting onions") is incompatible with the perfect aspect.
I've been cutting onions ("continuously until now" implied). That's why my eyes are red ("now" implied). I have cut the...