The councils are among those expected to lose out under a move to shift funding to more deprived areas.