A new species of flesh-eating dinosaur has been identified in South Wales, more than a century after its fossil was first unearthed.