The world’s largest cryptocurrency exchange allowed numerous trades that violated US sanctions, including ones involving Hamas, al-Qaeda and Iran.