Division Two champions Leicestershire beat Northamptonshire by 167 runs despite Stuart van der Merwe's 116 for the home side.