SERVER-16200 Eagerly compute StringData lengths and streamline equality checks