. . . "Statutes of limitations or repose serve a useful function in ridding society of disputes and threats of disputes even though they are arbitrary and will inevitably do injustice in particular cases." .