- added idx::replace_dim() and idx::minimal_dim()