Hong Kong stocks erase gains as China slowdown erodes market confidence