Boundary layer instability in a coupled-map model