GPO: Learning from Critical Steps to Improve LLM Reasoning