Lawmakers had pressed the president to find someone besides Bill Pulte, the Trump ally who was the president’s interim choice but lacked experience.