President Alvi accepted the resignation of Justice Mazahir Naqvi