Infrared Regularization of Yang-Mills Theories