Goldman Sachs Group Inc. admitted its role in the biggest foreign bribery case in U.S. enforcement history, reaching multiple international settlements to end probes into its fundraising for the scandal-plagued Malaysian fund known as 1MDB.