Remove splitinstances function

- This can be replaced by commands in vbsp_config instead of code
Remove some unused vars