New York banking regulators made headlines this week by securing a record settlement with the United Kingdom’s Standard Chartered bank, and gave a boost to the state’s finances in the process.