The man charged with killing Dennis Bernardi told police he believed his own life was in danger