Two Republicans, Sen. Lisa Murkowski of Alaska and Sen. Susan Collins of Maine, broke ranks to oppose Hegseth.