Existence and stability of stationary shear bands with mixed-boundary conditions