Clean up some XLATensor unused interfaces (#4257)
Summary:
This pull request removes XLATensor::shape_with_layout, XLATensor::CreateTensors and some XLATensor::CreateFrom. In addition, it also removes MaybeCastIrValue in XLATensor::CreateFrom which should no longer be needed.
Test Plan:
CI.