Until recently, the conventional wisdom in Berlin held that a major terrorist attack attributed to one of the more than 1 million refugees and migrants allowed into Germany since mid-2015 would spell doom for Chancellor Angela Merkel, who faces a reelection bid in September. Then, on Dec. 19, just...