Maj. Gen. Jeannie Leavitt asked for an assignment she wasn't allowed to have—and it paid off.