MPs have criticised a failure by government to exempt charities from increases to employers' national insurance contributions.