perform string compression where consecutive occurences of character are replaced by character and count - gives up if result is larger than original string