A three-star general who was fired in March after an Air Force investigation found that he had exchanged sexually suggestive emails with a female officer when both were married to other people will be allowed to keep his rank as he retires, saving him thousands of dollars each month.