Renormalization group analysis of boundary conditions in potential scattering