LPL Research analyzes an action-packed end to July and historical performance during Fed rate-cutting cycles.