Police forces will be "compensated" for the increase in employers' national insurance, the home secretary has revealed.