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