President-elect’s strategic retreat over attorney-general nominee is sign of his political limitations