Teenager acquitted of murdering boy, 17, lied to protect himself, inquest hears