The Terengganu deal was the beginning of a line of business that in short order would earn hundreds of millions of dollars for Goldman. Suddenly, the one-time backwater of Malaysia would become one of Goldman’s biggest profit centers anywhere in the world.