Aussies lead series 2-1 as Pakistan engineer its own demise