Enda Kenny tendered his resignation to President Michael D Higgins