Restoring Sub-shot-noise Phase Sensitivity In a Realistic Two-photon Interferometry