Functional memory T cells are derived from exhausted clones and expanded by checkpoint blockade