Shahzad Akbar resigns as PM’s adviser