provision/juju: set unit status to error if agent-state is start-error

Fix #317.