Court voids order sentencing IGP to prison for contempt