provision/juju: improve test reliability
provision/juju: fix assert in test for dirty collect output
provision/juju: remove unit from database when removing unit from juju
provision/juju: remove units from the database when destroying apps