Bangladesh averts yet another army coup even as Pakistan teeters on one