Genotyping cell-free tumor DNA in the blood to detect residual disease and drug resistance