New fossil named after 'Lord of the Rings' character is related to mysterious reptiles