Chinese soldiers in Hong Kong have left their barracks to help dismantle barricades built by protesters.