California to pay $24 million over death of man who yelled '