Nawaz Sharif's appeal in Avenfield reference restored