'How I Met Your Mother' ends with one last twist