Daria Gavrilova lets a commanding lead slip before eventually seeing off Monica Niculescu at the Hong Kong Open.