Making brain-machine interfaces robust to future neural variability