New Zealand batsman Martin Guptill will miss the tour of Bangladesh as his problematic ankle needs surgery.