England's elimination from the World Cup was confirmed after Tonga beat Samoa 20-18 in the final group match.