I think the only way you can achieve that would be using custom policies, which is a good bit of work
the easier behaviour would be having the user going to the sign in page and then registering from there
I haven't tried.. but maybe you can try creating separate User Flows in Azure AD B2C, one for just sign-in, and the other just register.. but not sure how you would associate that with the redeem invitation button