Dynamical systems analysis of the Maasch–Saltzman model for glacial cycles