US Defence Secretary Pete Hegseth has said President Donald Trump "chose mercy" in agreeing to a two-week ceasefire with Iran, despite having the capability to escalate the conflict further.