State saves millions by stopping wasteful home assignments