Trub loss is unavoidable, but a gallon sounds excessive. I understand that when racking from bucket or carboy, it is very difficult to leave just the hop debris behind, as it is a loose liquidy mass. You could tie a fine mesh hop bag to the bottom of your racking cane to keep the coarser stuff behind.
To avoid those problems later, I find it better to try to keep as much of the hop pulp (mixed with break material) in the BK as possible. Using a filter screen of some sort at the bulkhead outlet or over the dip tube helps to strain the wort better. Among methods commonly used are a false bottom, SS scrubby, hop spider, hop basket, hop taco, bazooka screen (not very effective with pellets), etc. Whirlpooling can be effective too if you can get it to work. A "braid" does not work, it clogs too fast.
For example, I gathered the hop mass from my BK after brewing a hoppy IPA (7 oz of pellet hops in 5 gal) and it accumulated to almost 2 quarts! And this was pretty dry stuff, with not much wort left in it.
So to answer your question regarding your Cream Ale, you did the right thing, leaving the hops behind. Most hops have done their work although there is some question if late and flameout hop additions need extra time to give you all of their best. Look for some threads on flameout hop additions and (extended) hop stands at lower temps after some chilling.
Question:
Why did you rack your IPA to a secondary? Was the only reason to free up your primary? If the dry hopping was done the next step would be packaging.
I think most of us here add dry hops 7 days before packaging, and typically 1-2 weeks after primary fermentation has completed, allowing the yeast that time to condition the beer. This means instead of racking to a secondary, racking to keg or bottling bucket seems the more logical workflow.
Again, many of us don't use secondaries anymore unless we add fruit, wood or other adjuncts or need a long conditioning/aging period. That secondary should be a tight vessel (small head space) to minimize air exposure. Flushing that head space with CO2 is also commonly done.