Essex kept their nerve to hold out for a draw against Somerset after a first-innings collapse to win a second County Championship in three seasons