Add validation for Backpermute and partial for replicate.  Enough for now.