Irish Prime Minister Leo Varadkar has announced his resignation amidst election preparations and following a failed referendum