A Simplified Optimal Control Method for Homoclinic Bifurcations