Qadri quits TLP; apologises to govt, army and judiciary