The Welsh Secretary has been asked if she will resign if benefit cuts are announced, after she broke the Labour whip a decade ago to vote against similar changes while in opposition.