Defence secretary announced decision as he scolded Nato allies for failing to support Washington in Iran war