Pakistan Law Minister resigns