Resonant returns to close approaches: analytical theory