The duo’s paper says self-contracts can help you quit smoking or lose weight, but incentives such as putting a bomb in your skull would surely test the limits of the law.