gitlab-ci: port merge request pipeline logic to the single rules block Co-authored-by: Brad King <brad.king@kitware.com>