A kinetic formulation for multi-branch entropy solutions of scalar conservation laws