A Path-Integral-Based Reinforcement Learning Algorithm for Path Following of an Autoassembly Mobile Robot