Chilean justice minister resigns after pardons row