The playwright's latest work, 'The Haunting of Lin-Manuel Miranda,' is a cautionary tale about fatal research mistakes.