Strain localization during rapid shearing of a saturated rock layer