Remove revision reference from master when deleting a part revision