PCs Defending
If the PCs successfully overcome the combat challenge, they treat the boarders as if they had failed the boarding attack by 5. If they succeed within 3 rounds (or otherwise achieve an extraordinary victory, at the GM’s discretion), the PCs also incapacitate a fraction of the enemy’s boarding party as though the boarding attack failed the BR by 10.
Source
Starship Operations Manual pg. 41