Defence secretary says ‘narrowly tailored’ action is retaliation for attacks on American forces in region