RTÉ director general resigns over Tubridy payments