The Surprising Resilience of the Patent System