Use of the star-triangle transformation for the application of differential real-space renormalization-group theory