A murder suspect in the US has been attacked by the victim's family in a courtroom brawl.