Defense Secretary Robert M. Gates is a man caught between past policies and reversals he is carrying out.