Pakistani stocks retreat after global markets tumble