Attempts to move 2,750 metric tons of ammonium nitrate out of the city’s port became mired in Lebanon’s bureaucracy. The resulting disaster, one of the largest nonnuclear explosions in history, has shaken a country already reeling from the coronavirus and deep financial woes.