A tax that redistributes money from richer municipalities to poor areas is being drafted by the government. But who stands to gain from it? And who may be left worse off?