Aligning an optical interferometer with beam divergence control and continuous action space