Precoloring extensions involving cliques and the pairwise distance needed between them