Redistribution Of Tensors For Distributed Contractions