As death drew close, the 36th president was shadowed by the shame of Vietnam even as he longed to be remembered for his achievements in civil rights—and he spent himself on a final speech to enshrine that record.