After controversial officer again not advanced, and subsequent outrage, military chief says introducing 'foreign considerations' into appointments is 'unacceptable, even dangerous'