Replace usage of `PermuteShape` to `Permute<T>`.
Replace usage of `PermuteShape` to `Permute<T>`.

Replaces the duplicate implementation of array permutation.

As a corollary, replaces permutation values to existing definitions in `attrs_and_constraints.h`.
