HACKENSACK — The city was justified in stripping two police officers of their jobs after a 2016 warrantless search of a Prospect Avenue apartment, the state appellate court ruled last week.The ruling is the latest court decision in a lengthy legal battle over the fates of the officers — Detective Rocco Duardo and Officer Victor…