Plugging the welfare checks into the foreign aid system is a masterstroke.