Enhance elimination of useless tests in beam_jump
Enhance elimination of useless tests in beam_jump

It can happen we have the following situation:

    {test,is_tuple,Fail,[R1]}
    {test,test_arity,Fail,[R1,N1]}
    {get_tuple_element,R1,N2,R2}
    {test,is_eq_exaqct,Fail,[R2,Atom]}
    {jump,Fail}

Previously, the optimisation would eliminate the last is_eq_exact test, but
we can do more. If the register R2 is not used in Fail, we can eliminate the
get_tuple_element instruction as well as all the preceding tests. Ultimately,
the whole sequence can be replaced by:

    {jump,Fail}

falkevik/otp,getong/otp,jj1bdx/otp,vladdu/otp,aboroska/otp,bjorng/otp,rlipscombe/otp,uabboli/otp,potatosalad/otp,isvilen/otp,potatosalad/otp,emacsmirror/erlang,vinoski/otp,rlipscombe/otp,electricimp/otp,emacsmirror/erlang,erlang/otp,rlipscombe/otp,cobusc/otp,getong/otp,g-andrade/otp,aboroska/otp,cobusc/otp,falkevik/otp,kvakvs/otp,isvilen/otp,RoadRunnr/otp,g-andrade/otp,goertzenator/otp,mikpe/otp,jj1bdx/otp,mikpe/otp,getong/otp,ferd/otp,lrascao/otp,bjorng/otp,bernardd/otp,emacsmirror/erlang,mikpe/otp,RaimoNiskanen/otp,electricimp/otp,bernardd/otp,kvakvs/otp,saleyn/otp,emacsmirror/erlang,g-andrade/otp,bjorng/otp,bsmr-erlang/otp,fenollp/otp,potatosalad/otp,fenollp/otp,uabboli/otp,getong/otp,goertzenator/otp,legoscia/otp,aboroska/otp,RoadRunnr/otp,potatosalad/otp,goertzenator/otp,mikpe/otp,aboroska/otp,tuncer/otp,legoscia/otp,bernardd/otp,saleyn/otp,isvilen/otp,potatosalad/otp,RaimoNiskanen/otp,erlang/otp,rlipscombe/otp,potatosalad/otp,bjorng/otp,jj1bdx/otp,cobusc/otp,emacsmirror/erlang,bjorng/otp,vladdu/otp,vinoski/otp,kvakvs/otp,uabboli/otp,emacsmirror/erlang,vinoski/otp,dgud/otp,erlang/otp,isvilen/otp,cobusc/otp,RoadRunnr/otp,RaimoNiskanen/otp,goertzenator/otp,kvakvs/otp,dgud/otp,vladdu/otp,uabboli/otp,falkevik/otp,bernardd/otp,dgud/otp,dumbbell/otp,dgud/otp,tuncer/otp,cobusc/otp,fenollp/otp,fenollp/otp,emacsmirror/erlang,uabboli/otp,RoadRunnr/otp,getong/otp,mikpe/otp,aboroska/otp,ferd/otp,mikpe/otp,RaimoNiskanen/otp,vinoski/otp,bsmr-erlang/otp,jj1bdx/otp,uabboli/otp,vladdu/otp,electricimp/otp,g-andrade/otp,erlang/otp,legoscia/otp,rlipscombe/otp,potatosalad/otp,bernardd/otp,vinoski/otp,legoscia/otp,jj1bdx/otp,bernardd/otp,falkevik/otp,dumbbell/otp,aboroska/otp,kvakvs/otp,g-andrade/otp,jj1bdx/otp,erlang/otp,kvakvs/otp,goertzenator/otp,rlipscombe/otp,bernardd/otp,erlang/otp,uabboli/otp,lrascao/otp,RaimoNiskanen/otp,mikpe/otp,electricimp/otp,lrascao/otp,vinoski/otp,bernardd/otp,lrascao/otp,emacsmirror/erlang,vladdu/otp,kvakvs/otp,vinoski/otp,falkevik/otp,bsmr-erlang/otp,ferd/otp,isvilen/otp,g-andrade/otp,lrascao/otp,isvilen/otp,legoscia/otp,tuncer/otp,legoscia/otp,aboroska/otp,bjorng/otp,goertzenator/otp,cobusc/otp,kvakvs/otp,vladdu/otp,falkevik/otp,potatosalad/otp,getong/otp,cobusc/otp,mikpe/otp,saleyn/otp,bjorng/otp,tuncer/otp,bsmr-erlang/otp,fenollp/otp,lrascao/otp,ferd/otp,ferd/otp,uabboli/otp,saleyn/otp,fenollp/otp,falkevik/otp,g-andrade/otp,dumbbell/otp,RoadRunnr/otp,dgud/otp,vinoski/otp,emacsmirror/erlang,isvilen/otp,dgud/otp,dumbbell/otp,dumbbell/otp,electricimp/otp,RaimoNiskanen/otp,vinoski/otp,bjorng/otp,jj1bdx/otp,falkevik/otp,vladdu/otp,dgud/otp,fenollp/otp,aboroska/otp,rlipscombe/otp,bsmr-erlang/otp,lrascao/otp,rlipscombe/otp,erlang/otp,jj1bdx/otp,bsmr-erlang/otp,fenollp/otp,kvakvs/otp,RoadRunnr/otp,saleyn/otp,rlipscombe/otp,bsmr-erlang/otp,falkevik/otp,RoadRunnr/otp,getong/otp,goertzenator/otp,tuncer/otp,jj1bdx/otp,goertzenator/otp,ferd/otp,tuncer/otp,ferd/otp,erlang/otp,electricimp/otp,RaimoNiskanen/otp,dumbbell/otp,ferd/otp,g-andrade/otp,bernardd/otp,dumbbell/otp,vladdu/otp,emacsmirror/erlang,fenollp/otp,ferd/otp,bjorng/otp,dumbbell/otp,vladdu/otp,electricimp/otp,lrascao/otp,mikpe/otp,dumbbell/otp,tuncer/otp,vinoski/otp,RaimoNiskanen/otp,legoscia/otp,bjorng/otp,tuncer/otp,RaimoNiskanen/otp,bsmr-erlang/otp,legoscia/otp,electricimp/otp,dumbbell/otp,saleyn/otp,cobusc/otp,potatosalad/otp,tuncer/otp,isvilen/otp,lrascao/otp,saleyn/otp,getong/otp,dgud/otp,erlang/otp,getong/otp,electricimp/otp,g-andrade/otp,isvilen/otp,RoadRunnr/otp,mikpe/otp,getong/otp,g-andrade/otp,potatosalad/otp,dgud/otp,saleyn/otp,goertzenator/otp,bsmr-erlang/otp,rlipscombe/otp,aboroska/otp,uabboli/otp,RoadRunnr/otp,saleyn/otp,isvilen/otp,legoscia/otp,erlang/otp,jj1bdx/otp,dgud/otp