Effective velocity boundary condition at a mixed slip surface