Government auditors reported that the projected final cost of the Pentagon’s major programs had ballooned $295 billion over initial budget estimates.