The world sacrificed its elderly in the race to protect hospitals. The result was a catastrophe in care homes