Rght click on the managed system of that partition, go to properties , in general tab you can see service partition option which might be assigned to your partition which you are trying to remove. Change it to different partition or unassigned. Then you can be able to remove that partition.