Hi Anwer
Wouldn't it be quicker to delete the derived role and recreate (if necessary, take note of the profile Id for the role and re-use it)
Haven't tested this recently, but I think you'll need to remove all role menu of the derived role to reconnect it as the derived role is meant to inherit menu from the imparting.
Regards
Colleen