Government to investigate Northamptonshire library closures