Pakistan evacuates half a million people stranded by floods