The government says the system will improve the animals’ safety, reduce homelessness, and cut municipal sheltering costs.