Multi-step Planning for Automated Hyperparameter Optimization with OptFormer