New Zealand gunmen targeted his former coworkers in Thursday shooting: court records