Pakistan detains hundreds ahead of ex-PM’s return