The Massachusetts Senate moved to restrict family stays in the state's emergency shelter system, backing recent moves from Governor Maura Healey and the Massachusetts House.