The US chief justice has rejected calls for impeaching judges after President Donald Trump demanded the removal of one who ruled against his deportation plans.