This one-liner expressions (MEL) should do the trick ;)
// match transform > delete `parentConstraint`; > > // match translation > delete `pointConstraint`; > > // match rotation > delete `orientConstraint`; > > // match scale > delete `scaleConstraint`; >