Chuck Hagel’s resignation is the end of Obama’s fantasy foreign policy