BUG/MEDIUM: server: support both check/agent-check on a dynamic instance

A static server is able to support simultaneously both health chech and
agent-check. Adjust the dynamic server CLI handlers to also support this
configuration.

This should not be backported, unless dynamic server checks are
backported.
diff --git a/src/server.c b/src/server.c
index 6405c36..f1e294a 100644
--- a/src/server.c
+++ b/src/server.c
@@ -4579,7 +4579,8 @@
 		srv->check.state &= ~CHK_ST_ENABLED;
 		srv_use_dynsrv(srv);
 	}
-	else if (srv->do_agent) {
+
+	if (srv->do_agent) {
 		if (init_srv_agent_check(srv))
 			goto out;
 
@@ -4647,7 +4648,7 @@
 		if (!start_check_task(&srv->check, 0, 1, 1))
 			ha_alert("System might be unstable, consider to execute a reload");
 	}
-	else if (srv->agent.state & CHK_ST_CONFIGURED) {
+	if (srv->agent.state & CHK_ST_CONFIGURED) {
 		if (!start_check_task(&srv->agent, 0, 1, 1))
 			ha_alert("System might be unstable, consider to execute a reload");
 	}
@@ -4664,7 +4665,7 @@
 
 		if (srv->check.state & CHK_ST_CONFIGURED)
 			free_check(&srv->check);
-		else if (srv->agent.state & CHK_ST_CONFIGURED)
+		if (srv->agent.state & CHK_ST_CONFIGURED)
 			free_check(&srv->agent);
 
 		/* remove the server from the proxy linked list */
@@ -4773,7 +4774,7 @@
 	/* stop the check task if running */
 	if (srv->check.state & CHK_ST_CONFIGURED)
 		check_purge(&srv->check);
-	else if (srv->agent.state & CHK_ST_CONFIGURED)
+	if (srv->agent.state & CHK_ST_CONFIGURED)
 		check_purge(&srv->agent);
 
 	/* detach the server from the proxy linked list