Republicans are imitating Democrats in trying to politicize the judiciary.