Gov. Maura Healey on Tuesday signed into law a new nine-month limit on how long families can live in Massachusetts emergency shelters, and stamped her approval on the Legislature’s plan to pull up to $426 million from a savings account to pour into the ongoing migrant housing crisis.