By rending his garment he cut himself off from being a representative character. He was no longer accepted by God as an officiating priest. This course of action, as exhibited by Caiaphas, showed human passion, human imperfection.
To prepare people for eternal life.