Dragons' first premiership win in 31 years