Robust strategies for lossy quantum interferometry