Standard Chartered to pay $327 million in U.S. sanctions case