Pete Hegseth told senators “restrictive rules of engagement” have “made it more difficult to defeat our enemies” as Democrats suggested he undervalued the laws of war.