Former Texas Gov. Rick Perry regrets his call six years ago for the elimination of the federal agency that President-elect Donald Trump has tapped him to lead, according to written testimony he is set to deliver to Congress on Thursday. He doesn’t say whether he also regrets forgetting its name—the Energy Department—entirely. Mr. Perry faced ridicule in 2011 after forgetting, during a Republican presidential…