The Alaska Republican’s decision Thursday comes ahead of a crucial test vote to advance Hegseth’s nomination toward confirmation.