California city to pay nearly $1M to a woman whose scalp was torn by a police dog