NY killer had mapped out firefighter ambush, murders