Taoiseach hails deal as backstop replaced with 'unique solution'