Stability and magnetism of hydrides of nonstoichiometric ZrMn2