BaseMultiPartWorkbenchPanelView.clear() does not perform the same cleanup as removePart()

Remove the clear() method entirely.
And clean removePart() removing call for  unused UF feature ContextActivity.