The SEC and the CFTC, which have a long history of turf wars that stymied regulation, have brokered an unusual jurisdictional peace accord.