Workers at Land Rover facilities in the UK have accepted a pay offer ending the threat of further strikes.