[sr-dev] git:sr_3.0: tm: safer handling for local transactions and drop_replies!=0