Policy Gradient Approach to Compilation of Variational Quantum Circuits