The move comes after years of complaints from Republican voters and politicians that conservative-leaning content online is discriminated against.