Pakistan set 565 to win 2nd Test against England