NETVIRT-1545: MDSAL transactions optimizations