Taoiseach Leo Varadkar has said he does not regret saying the Israeli response to the 7 October Hamas attack was becoming “something more approaching revenge”.