To repair family relationships, you need the 'Cheats' module as well as the basic Master Controller. When you click on a Sim, a 'Family' menu appears, allowing you to add/remove another Sim as a parent, child or sibling.
For other relationships, I just use TestingCheatEnabled if necessary to raise the relationship strength and then an interaction or two if it's a romantic relationship that's broken rather than smply friendship.