The lurid allegations about the Floridian nominated for attorney-general were threatening to derail the president-elect’s transition