Robust and fault-tolerant strategies for controlling blood glucose in patients with type 1 diabetes