Shear faulting and localized heating in ice: The influence of confinement