Derbyshire batsman Dan Redfern has pledged his long-term future to the club by signing a new three-year deal.