Attempt to fix dealloc of MGSplitViewController

Setting master or detail to nil will throw since it attempts to insert nil into _viewControllers