Washington lawmakers reach deal on drug policy, avoid automatic decriminalization