fix relooper usage where we created duplicate branches in switches