NHS hack: Hospitals were sent patch that would have prevented chaotic cyber attack