Something doesn't make sense here. If the Pacbrake has not been modified in any way, the engine will run fine with or without the exhaust brake actuated. An idling engine will labor slightly more when the exhaust brake is actuated because exhaust gases will be forced through a fixed orifice. There is a fixed orifice in the exhaust brake butterfly valve that controls back pressure at higher rpm's which allows exhaust gases to pass through when the valve is in the closed position.
Does the engine have the same idle problems when the transmission is in neutral? I don't think your problem is related to the exhaust brake unless the exhaust brake actuator / butterfly valve is severely damaged, the orifice is blocked, or something very unusual is going on.
- John