Morocco’s deadliest earthquake in decades has killed at least 820 people, officials said Saturday, causing widespread damage and sending terrified residents and tourists scrambling to safety in the middle of the night.