Some councils will be worse off after national insurance increases introduced in Rachel Reeves’s budget despite an increase in funding for local authorities, the Government has said.