Pakistan wants cordial ties with Afghanistan: PM