In a report released by the Middlesex District Attorney’s office Thursday, a judge wrote that officer Liam McMahon’s decision to shoot Sayed Arif Faisal was justified because it was reasonable for the officer to assume he was in danger of being injured or killed.