Ireland’s Justice Minister has said a random knife attack in a Dublin neighbourhood on Sunday could have involved a fatality had the gardai not responded quickly.