Gardener wins £1M payout caused by software bug