Government overcomes major test after staying up until 5 a.m.; MKs to reconvene Thursday morning to pass arrangements bill and 2022 budget