Mini's switch to electrics hinges on 2019 launch