Essex fall away after opener's effort but claim 96-run lead followed by four cheap wickets