Fuel-Optimal Powered Descent Guidance for Hazardous Terrain