Abdoulaye Doucoure's screamer proved the crucial goal that saw Everton beat Bournemouth and secure their status in the Premier League.