The day ended with two slain New York police officers. But it started, investigators say, when Ismaaiyl Brinsley slipped into his ex-girlfriend's apartment.