Using your brakes means that you are wasting effort.
You are yo-yoing because your attention is not far enough ahead of your bike. You need to react sooner to changes in speed at the front. Look farther up the line.
I use a slightly higher cadence in a pace line because that makes it easier to respond quickly to changes in speed.