The president used the death of two service members to push his defense of the ongoing war with Iran