Adding to what's been said:
Call it whatever you want, but that is two separate relays. I may be mistaken, but I believe one is the starter safety relay, which prevents the starter button from energizing the starter motor when the bike is already running. The other is the headlight relay, which prevents the headlight from coming on until the engine starts. Not 100% sure about those, but I think that's right.
On earlier XS650s, there is a single metal "dome" housing a single relay, which would be the starter safety relay. Those bikes had an on/off switch for the headlights, so you could turn the lights off manually when you were starting, and thus you did not need the idiot headlight relay. But then safety regulations kicked in, and daytime headlights became the law, and the regulators didn't want there to be a way to turn your headlights off, but you still needed a way to start the bike without the added load of the headlight, thus the idiot headlight relay.
You don't need either relay, and they both can be bypassed. if you bypass the starter safety relay, just be sure you don't hit the start button when the bike is running. If you bypass the headlight relay, add a manual switch to turn the headlight off when you start the bike.