Update sqlrest.js

in case of 'initFetchWithLocalData' is true,
and error occur, backbone collection added models duplicate. 

collection.length is okay, but actually collection has length*2 models. 
and collection.size() return length*2 value.