Court grants Pervaiz Elahi pre-arrest bail