The UK bank's agreement to pay New York state $340 million to settle money-laundering charges raises the specter that a new regulator is bent on making the industry demands it can't refuse.