Dangerous Border-Collision bifurcations of a piecewise-smooth map