President-elect Donald J. Trump let weeks pass before signing the agreement as his team considered using private investigators instead.