Sources say government went to the court to pre-empt contempt proceedings Police chief SP Vaid was abruptly removed late on Thursday Dilbagh Singh, the Director General of Prisons, was asked to take over