York’s MPs have clashed over how they plan to vote on the assisted dying bill.